<template>
  <div class="nav2">
    <div class="container pt-4">
      <div class="row">
        <div class="col-12">
          <div class="pointsRule">
            <ul id="list">
              <li style="z-index:6;background-image: linear-gradient(to right, #005bea ,#00c6fb)" class="green" @click="gotoHome()"><a><span>首页</span><i style="background-color:#00c6fb"></i></a></li>
              <li style="z-index:5;background-image: linear-gradient(to right, #005bea ,#00c6fb)"  @click="gotoNav()"><a><em class="before"></em><span>预算管理</span><i style="background-color:#00c6fb"></i></a></li>
              <li style="z-index:4;background-image: linear-gradient(to right, #005bea ,#00c6fb)"  @click="$router.push('/nav3')"><a><em class="before"></em><span>预算编制</span><i style="background-color:#00c6fb"></i></a></li>
              <li style="z-index:3;background-image: linear-gradient(to right, #005bea ,#00c6fb)"  @click="$router.push('/nav1')"><a><em class="before"></em><span>制定目标(2021)</span><i style="background-color:#00c6fb"></i></a></li>
              <li style="z-index:2;background-image: linear-gradient(to right, #005bea ,#00c6fb)"  @click="$router.push('/nav4')"><a><em class="before"></em><span>年度</span><i style="background-color:#00c6fb"></i></a></li>
              <li style="z-index:1;background-color: #ffc107;"><a><em class="before"></em><span style="color: #4e555b;">费用</span><i style="background-color:#ffc107;"></i></a></li>
            </ul>
          </div>
        </div>
      </div>
    </div>
    <div class="content">
      <ul class="pl-0">
        <li class="text-center">
          <router-link :to="{ path: '/BudgetDetails/费用一/3'+orgid+'1'}">
            费用一
            <div class="mt-2">人工费用</div>
          </router-link>
        </li>
        <li class="text-center">
          <router-link :to="{ path: '/BudgetDetails/费用二/3'+orgid+'2'}">
            费用二
            <div class="mt-2">固定费用和变动费用</div>
          </router-link>
        </li>
        <li class="text-center">
          <router-link :to="{ path: '/BudgetDetails/费用三/3'+orgid+'3'}">
            费用三
            <div class="mt-2">福利费</div>
          </router-link>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
  export default {
    name: "nav2",
    data () {
      return {
        profits: 0, //实际累积利润
        profitsMonth: 0,  //当月利润
        costNowMonth: 0,  //当月费用
        incomeNowMonth: 0,  //当月收入
        costAmount: 0,  //累积费用
        incomeAmount: 0, //累积收入
        serviceIncome: 0,  //服务费
        orgid: window.sessionStorage.getItem('orgid'),
        otherCost: {
          actualAmount: 0,
          nowMonthIncome: 0
        },
        service: {
          actualAmount: 0,
          nowMonthIncome: 0
        },
        loading: {}
      }
    },
    created() {
    },
    methods: {
      gotoHome(){
        this.$router.push("/index");
      },
      //跳转到书吧
      gotoNav: function(){
        this.$router.push("/nav2");
      },
      toDetails(type) {
        window.sessionStorage.setItem('type', 'type')
        this.$router.push('/BudgetDetails')
      },
    }
  }
</script>

<style scoped>
  .breadcrumb{
    padding: 10px 5px;
    padding-bottom: 5px;
    background: transparent;
  }
  .breadcrumb-item a,
  .breadcrumb-item{
    font-size: 20px;
  }
  .nav2{
    height: 100%;
    /*background: url("~@/assets/img/bg4.png") no-repeat;*/
    background-size: 100% auto;
    background-position: 0 -100px;
  }
  .content{
    padding-top: 8%;
  }
  .content ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .content ul li{
    list-style: none;
    display: inline;
  }
  .content ul li a{
    /*background: ;*/
    color: #4e555b;
    display: inline-block;
    margin: 40px;
    border-radius: 10px;
    width: 210px;
    height: 150px;
    font-size: 24px;
    font-weight: bold;
    /*box-shadow: 0 0 10px #95999c;*/
    border: 4px solid #7abaff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
  }
  .content ul li a div{
    font-size: 16px;
    font-weight: normal;
    color: #95999c;
    font-weight: bold;

  }
</style>
